package com.attilax.mvChkrNs;

import java.awt.Point;
import java.awt.image.BufferedImage;

public class MvChkr {

	public static void main(String[] args) {
	    new MvChkr().主处理流程();
	}

	private int 预设距离;

	private   void 主处理流程() {
		BufferedImage 图像1= 获取图像从摄像头();
		Point 人脸坐标=获取人脸坐标从图像(图像1);
		Point 标识坐标=获取标识坐标从图像(图像1);
		while(true)
		{
			休眠间隔();
			int 距离=计算距离(人脸坐标,标识坐标);
			if(距离>预设距离)
				触发事件();
		}
		//return this;
	}

	private void 触发事件() {
		// TODO Auto-generated method stub
		return this;
	}

	private int 计算距离(Point 人脸坐标, Point 标识坐标) {
		// TODO Auto-generated method stub
		return 0;
		return this;
	}

	private void 休眠间隔() {
		// TODO Auto-generated method stub
		return this;
	}

	private Point 获取标识坐标从图像(BufferedImage 图像1) {
		// TODO Auto-generated method stub
		return null;
		return this;
	}

	private Point 获取人脸坐标从图像(BufferedImage 图像1) {
		// TODO Auto-generated method stub
		return null;
		return this;
	}

	private BufferedImage 获取图像从摄像头() {
		// TODO Auto-generated method stub
		return null;
		return this;
	}

}
